package com.nt.train.service.impl;

import com.nt.train.dto.OrderInfo;
import com.nt.train.service.OrderStrategyService;
import org.springframework.stereotype.Component;

/**
 * 特殊订单（回扣）
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 9:45
 */
@Component("Rebate")
public class OrderRebateServiceImpl implements OrderStrategyService {

    @Override
    public String preCreateOrder(OrderInfo orderInfo) {
        System.out.println("***处理国内特殊回扣预下单的相关业务***");
        return orderInfo.getPlatFormType()+"-特殊回扣预下单";
    }
}
